package com.yidu.hbatsams.dao;

import com.yidu.hbatsams.domain.AtsEmpAthleteScheme;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AtsEmpAthleteSchemeMapper {
    /**
     * 删除
     *
     * @param pid
     * @return
     */
    int isvaDel(Integer pid);


    int deleteByPrimaryKey(Integer caId);

    int insert(AtsEmpAthleteScheme record);

    int insertSelective(AtsEmpAthleteScheme record);

    AtsEmpAthleteScheme selectByPrimaryKey(Integer caId);

    /**
     * 修改多年计划
     * @param atsEmpAthleteScheme
     * @return
     */
    int updateRemark(AtsEmpAthleteScheme atsEmpAthleteScheme);


    List<AtsEmpAthleteScheme> findByRemark(AtsEmpAthleteScheme atsEmpAthleteScheme);


    int updateByPrimaryKeySelective(AtsEmpAthleteScheme record);

    int updateByPrimaryKey(AtsEmpAthleteScheme record);
}